home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / C++ AppleLink Messages / CPlus.Dev$ 2⁄2⁄90 / 0046-DoToField_StaticLink-Feb90 < prev    next >
Encoding:
Text File  |  1990-02-02  |  898 b   |  32 lines  |  [TEXT/GEOL]

  1. Item    3892351                         2-Feb-90        08:26PST
  2.  
  3. From:   D1622                           Nerdworks, Dan Weston,PRT
  4.  
  5. To:     CPLUS.DEV$                      C++ Interest List--Developers
  6.         CPLUS.APPLE$                    C++ Interest List--Apple Employees
  7.  
  8. Sub:    DoToField_StaticLink ???
  9.  
  10.  
  11.  
  12. Dear fellow C++ explorers,
  13.  
  14. When I use MacApp from C++, I have to define the Fields method as shown here:
  15.  
  16. pascal void TPICTDocument::Fields(pascal void (*DoToField)(
  17.                                   StringPtr fieldName,
  18.                                   Ptr fieldAddr,
  19.                                   short fieldType,
  20.                                   void *DoToField_StaticLink),
  21.                              void *DoToField_StaticLink)
  22.  
  23.  
  24. Can someone tell me what the DoToField_StaticLink argument is for and why is it
  25. there...?
  26.  
  27. Thanks,
  28. Dan Weston
  29. Nerdworks
  30. D1622
  31.  
  32.